﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DB_NH.DB_Map.ywxt.ProjectBZJ
{
    using NHibernate;
    using NHibernate.Mapping.ByCode;
    using NHibernate.Mapping.ByCode.Conformist;

    using DB_NH.DB_Model.ywxt.ProjectBZJ;

    public class TuiBao_SQ_Detail_Map : EntityMapping<TuiBao_SQ_Detail>
    {
        public TuiBao_SQ_Detail_Map()
        {
            Property(x => x.fpFlag, map =>
            {
                
            });

            Property(x => x.sqDescribe, map =>
            {
                map.Length(10000000);
            });

            Property(x => x.sqValue, map =>
            {

            });

            ManyToOne(x => x.pe, map =>
            {
                map.Column("pe_id");
            });

            ManyToOne(x => x.sq, map =>
            {
                map.Column("SqId");
            });

            Table("TuiBao_SQ_Detail");
        }
    }
}
